@extends('admin.pop_edit')
@section('body')
    <form id="systemUserAddForm" action="{{admin_url($baseRoute.'save-caller')}}" class="layui-form model-form">
        <div class="layui-row">
            <div class="layui-col-xs6">
                <div class="layui-form-item">
                    <label class="layui-form-label layui-form-required">交接人:</label>
                    <div class="layui-input-block">
                        <x-system.user name="from" show-all="--交接人--" group="{{\App\Models\System\Group::CALLER}}">

                        </x-system.user>
                    </div>
                </div>
            </div>
            <div class="layui-col-xs6">
                <div class="layui-form-item">
                    <label class="layui-form-label layui-form-required">接收人:</label>
                    <div class="layui-input-block">
                        <x-system.user name="to" show-all="--接收人--" group="{{\App\Models\System\Group::CALLER}}">

                        </x-system.user>
                    </div>
                </div>
            </div>
        </div>
        <div class="layui-form-item text-right">
            <button class="layui-btn" lay-filter="ajaxForm" lay-submit>交接</button>
            <button class="layui-btn layui-btn-primary" type="button"
                    ew-event="closeDialog">@lang('common.cancel')</button>
        </div>
    </form>
@stop
